package com.warm.androidstudy.config;

/**
 * Created by Administrator on 2017/6/6 0006.
 */

public class AppConfig {

    public final static String SP_FILE_NAME = "config";//基础配置·SP存储文件名
    public final static String SP_KEY_TOKEN = "token"; // token
    public final static String SP_KEY_REFRESH_TOKEN = "refreshToken"; // refreshToken
    public final static String SP_KEY_USER_ID = "userId"; // 用户id
    public final static String SP_KEY_USER_NAME = "userName"; // 用户名
    public final static String SP_KEY_USER = "user";//用户
    public final static String SP_KEY_IS_INSTALL = "isFirst";//是否第一次安装
    public final static String SP_KEY_USER_ORG = "orgNo"; // 用户机构
    public static final int PAGE_SIZE = 10;
    public static final int MODE_FACE_LOGIN = 1 ;
    public static final int MODE_FACE_OTHER = 2 ;


    /**
     * 网络连接超时时间-单位毫秒
     */
    public static final int HTTP_CONNECT_TIMEOUT = 25 * 1000;
    /**
     * 网络请求超时时间-单位毫秒
     */
    public static final int HTTP_REQUEST_TIMEOUT = 25 * 1000;
    /**
     * 上传超时时间-单位毫秒
     */
    public static final int HTTP_UPLOAD_TIMEOUT = 50 * 1000;

    /**
     * 图片存储路径
     */
    public static final String[] IMAGE_FILE_FOLDER = {"/.Hbxkyysoft", "/manage", "/image"};

    /**
     * 下载文件保存路径
     */
    public static final String[] DOWNLOAD_FILE_FOLDER = {"/.Hbxkyysoft", "/manage", "/download"};
}
